Skip to content

fix: resolve open Dependabot and code-scanning alerts - #74

Merged
kurok merged 1 commit into
mainfrom
fix/security-alerts
Aug 19, 2026
Merged

fix: resolve open Dependabot and code-scanning alerts#74
kurok merged 1 commit into
mainfrom
fix/security-alerts

Conversation

@kurok

@kurok kurok commented Aug 19, 2026

Copy link
Copy Markdown

Summary

One PR resolving all open Dependabot alerts and the fixable code-scanning alerts.

Dependabot alerts #1, #4, #12 — js-yaml 3.x DoS (high/medium)

Bumps transitive dev dependency js-yaml 3.14.2 → 3.15.1 (GHSA-5p4m-2wfm-xmqj, GHSA-52cp-r559-cp3m, GHSA-h67p-54hq-rp68). Lockfile-only: @istanbuljs/load-nyc-config requires ^3.13.1, which 3.15.1 satisfies. Dev-only, so dist/ is unaffected.

Code-scanning alerts #1#4 — actions/missing-workflow-permissions (medium)

Adds a workflow-level permissions: contents: read block to .github/workflows/pr.yml, covering all four jobs. No job needs write access (the runner-checksum job only reads a public release).

Code-scanning alert #5 — js/incomplete-sanitization in dist/index.js (high)

Not addressed here: the flagged quoteHeader function is bundled AWS SDK (smithy) vendor code inside the generated dist/index.js, not this repo's source. Dismissed on the alert with an explanatory comment.

Verification

  • npm ci — clean install, 0 vulnerabilities
  • npm test — 245 passing
  • npm run package — rebuilt dist/ is byte-identical (dev-only dep change)

- bump transitive dev dependency js-yaml to 3.15.1
  (GHSA-5p4m-2wfm-xmqj, GHSA-52cp-r559-cp3m, GHSA-h67p-54hq-rp68);
  lockfile-only change within the ^3.13.1 range required by
  @istanbuljs/load-nyc-config
- add least-privilege GITHUB_TOKEN permissions (contents: read) to the
  PR workflow (actions/missing-workflow-permissions)

Signed-off-by: kurok <22548029+kurok@users.noreply.github.com>
@kurok
kurok merged commit 4910e5f into main Aug 19, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant